﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GraphTools.OSM
{
    public class OSMNode : OSMBase, INode
    {
        public float Latitude { get; set; }
        public float Longitude { get; set; }

        public OSMNode(int ID, int Version, DateTime Timestamp, float lat, float lon, IDictionary<string, string> Tags)
            : base(ID,Version,Timestamp,Tags)
        {
            this.Latitude = lat;
            this.Longitude = lon;
        }

        public OSMNode(float lat, float lon)
            : base()
        {
            this.Latitude = lat;
            this.Longitude = lon;
        }
    }
}
